package com.laolang.pluto.module.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.laolang.pluto.common.persist.entity.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author laolang
 * @date 2021-08-06 23:25
 */
@TableName("sys_tenant")
@EqualsAndHashCode(callSuper = true)
@Data
public class SysTenant extends BaseEntity {


    /**
     * 名称
     */
    private String name;

    /**
     * 编号
     */
    private String code;

    /**
     * <p>状态</p>
     * <ul>
     *     <li>0: 正常</li>
     *     <li>99: 冻结</li>
     * </ul>
     */
    private Integer status;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;
}
